package cn.lili.timetask.handler.impl.payment;

import cn.lili.modules.payment.client.PaymentClient;
import cn.lili.timetask.handler.EveryMinuteExecute;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 支付回查（每分钟执行）
 *
 * @author liushuai(liushuai711 @ gmail.com)
 * @version v4.0
 * @Description:
 * @since 2023/3/29 17:33
 */

@Slf4j
@Component
public class PaymentResultCheckTaskExecute implements EveryMinuteExecute {


    @Autowired
    private PaymentClient paymentClient;
    @Override
    public void execute() {
        paymentClient.everyMinuteExecute();
    }
}
